<?php
class Config{
    private $cfg = array(
        'url'=>'https://pay.swiftpass.cn/pay/gateway',
        'mchId'=>'105540015778',
        'key'=>'2c534dd7c2ba3a46044313f6969a3413',
        'version'=>'2.0',
        'notify_url'=>'http://zhangwei.dev.swiftpass.cn/payInterface_gzzh/request.php?method=callback',
       );

   /*  private $cfg = array(
        'url'=>'https://pay.swiftpass.cn/pay/gateway',
        'mchId'=>'7551000001',
        'key'=>'9d101c97133837e13dde2d32a5054abb',
        'version'=>'1.0'
       );*/
    
    public function C($cfgName){
        return $this->cfg[$cfgName];
    }
}
?>